package io.renren.modules.nuaa.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 证书表
*
* @author Mark sunlightcs@gmail.com
* @since 3.0 2023-11-07
*/
@Data
@ApiModel(value = "证书表")
public class TCertificateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "身份证")
    private String idCard;
    @ApiModelProperty(value = "证书号")
    private String certificateNo;
    @ApiModelProperty(value = "证书图")
    private String img;
    @ApiModelProperty(value = "分类")
    private Integer categoryId;
    @ApiModelProperty(value = "分类名称")
    private String categoryName;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "过期时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date expirationDate;

}